package com.gupao.decorator.battercakedemo;


/**
 * 加香肠的煎饼 装饰器类
 */
public class SausageBatterCakeDecorator extends BatterCakeDecorator {

    public SausageBatterCakeDecorator(BatterCake batterCake) {
        super(batterCake);
    }

    @Override
    public String getMsg() {
        return super.getMsg()+"+1香肠";
    }

    @Override
    public int getPrice() {
        return super.getPrice()+4;
    }
}
